
public class LoginByTelephone extends LoginService {

    public void login(String userName, String password) {
        super.login(userName, password);
    }

    public void loginByTelephone(String telephone) {
        System.out.println("手机登陆");
        this.login(telephone, "设置好的密码");
    }
}